import { createApp } from 'vue';
import App from './App.vue';
import router from './router/index';
import store, { setupStore } from './store';

// import 'element-plus/dist/index.css';
//对于css样式的初始化
import 'normalize.css';
import '../src/assets/css/index.less';
/* 导入注册全局组件的I/O处理中心 */
import registerGlobal from './global';
/* 导入动画库 */
import 'animate.css';
const app = createApp(App);
registerGlobal(app);
/* 初始化vuex数据 */
setupStore();
document.title = '权权管理系统';
app.use(store).use(router).mount('#app');
